package org.wuyichun.gift.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TenantRegisterDto {
    private Long id;
    @NotNull(message = "店铺名称不能为空")
    private String companyName;
    @NotNull(message = "座机号码不能为空")
//    @Pattern(regexp = "^1[3-9]\\d{9}$",message = "手机号格式不正确")
    private String companyNum;
    @NotNull(message = "类型不能为空")
    private Integer state;
    private String adminId;
    @NotNull(message = "地址不能为空")
    private String address;
    @NotNull(message = "logo不能为空")
    private String logo;
}
